package com.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ToString
@Data
@TableName("bus_goods")
public class Goods implements Serializable {
    private static final long seria1VersionUID=1L;
    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;

    private String  goodsname ;
    private String  produceplace;
    private String  size;
    private String  goodspackage;
    private String  productcode;
    private String  promitcode;
    private String  description;

    private Double  price;
    private Integer  number;
    private Integer  dangernum;
    private String  goodsimg;
    private Integer  available;
    private Integer  providerid;
        @TableField(exist = false)
        private String providername;


}

